3.1782 \(\int \frac{1}{\sqrt{a+\frac{b}{x}} x^{3/2}} \, dx\)

Optimal. Leaf size=30 \[ -\frac{2 \tanh ^{-1}\left (\frac{\sqrt{b}}{\sqrt{x} \sqrt{a+\frac{b}{x}}}\right )}{\sqrt{b}} \]

[Out]

(-2*ArcTanh[Sqrt[b]/(Sqrt[a + b/x]*Sqrt[x])])/Sqrt[b]

________________________________________________________________________________________

Rubi [A]  time = 0.015364, antiderivative size = 30, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 3, integrand size = 17, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.176, Rules used = {337, 217, 206} \[ -\frac{2 \tanh ^{-1}\left (\frac{\sqrt{b}}{\sqrt{x} \sqrt{a+\frac{b}{x}}}\right )}{\sqrt{b}} \]

Antiderivative was successfully verified.

[In]

Int[1/(Sqrt[a + b/x]*x^(3/2)),x]

[Out]

(-2*ArcTanh[Sqrt[b]/(Sqrt[a + b/x]*Sqrt[x])])/Sqrt[b]

Rule 337

Int[((c_.)*(x_))^(m_)*((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> With[{k = Denominator[m]}, -Dist[k/c, Subst[
Int[(a + b/(c^n*x^(k*n)))^p/x^(k*(m + 1) + 1), x], x, 1/(c*x)^(1/k)], x]] /; FreeQ[{a, b, c, p}, x] && ILtQ[n,
 0] && FractionQ[m]

Rule 217

Int[1/Sqrt[(a_) + (b_.)*(x_)^2], x_Symbol] :> Subst[Int[1/(1 - b*x^2), x], x, x/Sqrt[a + b*x^2]] /; FreeQ[{a,
b}, x] &&  !GtQ[a, 0]

Rule 206

Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(1*ArcTanh[(Rt[-b, 2]*x)/Rt[a, 2]])/(Rt[a, 2]*Rt[-b, 2]), x]
 /; FreeQ[{a, b}, x] && NegQ[a/b] && (GtQ[a, 0] || LtQ[b, 0])

Rubi steps

\begin{align*} \int \frac{1}{\sqrt{a+\frac{b}{x}} x^{3/2}} \, dx &=-\left (2 \operatorname{Subst}\left (\int \frac{1}{\sqrt{a+b x^2}} \, dx,x,\frac{1}{\sqrt{x}}\right )\right )\\ &=-\left (2 \operatorname{Subst}\left (\int \frac{1}{1-b x^2} \, dx,x,\frac{1}{\sqrt{a+\frac{b}{x}} \sqrt{x}}\right )\right )\\ &=-\frac{2 \tanh ^{-1}\left (\frac{\sqrt{b}}{\sqrt{a+\frac{b}{x}} \sqrt{x}}\right )}{\sqrt{b}}\\ \end{align*}

Mathematica [A]  time = 0.019568, size = 54, normalized size = 1.8 \[ -\frac{2 \sqrt{a} \sqrt{\frac{b}{a x}+1} \sinh ^{-1}\left (\frac{\sqrt{b}}{\sqrt{a} \sqrt{x}}\right )}{\sqrt{b} \sqrt{a+\frac{b}{x}}} \]

Antiderivative was successfully verified.

[In]

Integrate[1/(Sqrt[a + b/x]*x^(3/2)),x]

[Out]

(-2*Sqrt[a]*Sqrt[1 + b/(a*x)]*ArcSinh[Sqrt[b]/(Sqrt[a]*Sqrt[x])])/(Sqrt[b]*Sqrt[a + b/x])

________________________________________________________________________________________

Maple [A]  time = 0.008, size = 39, normalized size = 1.3 \begin{align*} -2\,{\frac{\sqrt{x}}{\sqrt{ax+b}\sqrt{b}}\sqrt{{\frac{ax+b}{x}}}{\it Artanh} \left ({\frac{\sqrt{ax+b}}{\sqrt{b}}} \right ) } \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(1/(a+b/x)^(1/2)/x^(3/2),x)

[Out]

-2*((a*x+b)/x)^(1/2)*x^(1/2)/(a*x+b)^(1/2)/b^(1/2)*arctanh((a*x+b)^(1/2)/b^(1/2))

________________________________________________________________________________________

Maxima [F(-2)]  time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: ValueError} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/(a+b/x)^(1/2)/x^(3/2),x, algorithm="maxima")

[Out]

Exception raised: ValueError

________________________________________________________________________________________

Fricas [A]  time = 1.52686, size = 174, normalized size = 5.8 \begin{align*} \left [\frac{\log \left (\frac{a x - 2 \, \sqrt{b} \sqrt{x} \sqrt{\frac{a x + b}{x}} + 2 \, b}{x}\right )}{\sqrt{b}}, \frac{2 \, \sqrt{-b} \arctan \left (\frac{\sqrt{-b} \sqrt{x} \sqrt{\frac{a x + b}{x}}}{b}\right )}{b}\right ] \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/(a+b/x)^(1/2)/x^(3/2),x, algorithm="fricas")

[Out]

[log((a*x - 2*sqrt(b)*sqrt(x)*sqrt((a*x + b)/x) + 2*b)/x)/sqrt(b), 2*sqrt(-b)*arctan(sqrt(-b)*sqrt(x)*sqrt((a*
x + b)/x)/b)/b]

________________________________________________________________________________________

Sympy [A]  time = 5.61636, size = 24, normalized size = 0.8 \begin{align*} - \frac{2 \operatorname{asinh}{\left (\frac{\sqrt{b}}{\sqrt{a} \sqrt{x}} \right )}}{\sqrt{b}} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/(a+b/x)**(1/2)/x**(3/2),x)

[Out]

-2*asinh(sqrt(b)/(sqrt(a)*sqrt(x)))/sqrt(b)

________________________________________________________________________________________

Giac [A]  time = 1.14662, size = 53, normalized size = 1.77 \begin{align*} \frac{2 \, \arctan \left (\frac{\sqrt{a x + b}}{\sqrt{-b}}\right )}{\sqrt{-b}} - \frac{2 \, \arctan \left (\frac{\sqrt{b}}{\sqrt{-b}}\right )}{\sqrt{-b}} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/(a+b/x)^(1/2)/x^(3/2),x, algorithm="giac")

[Out]

2*arctan(sqrt(a*x + b)/sqrt(-b))/sqrt(-b) - 2*arctan(sqrt(b)/sqrt(-b))/sqrt(-b)